package com.qs.home.ui.VM;

import android.databinding.ObservableField;
import android.databinding.ObservableInt;
import android.support.annotation.NonNull;
import android.view.View;


import me.goldze.mvvmhabit.base.ItemViewModel;
/**
* 选择语言item
* @Author ltzz
* @Date 2019/8/21
*/
public class SelectLanguageItemViewModel extends ItemViewModel<SelectLanguageViewModel> {
    public ObservableField<String> mItemEntity = new ObservableField<>();
    //当前item是否选择
    public ObservableInt isSelect=new ObservableInt(View.GONE);

    public SelectLanguageItemViewModel(@NonNull SelectLanguageViewModel viewModel, String itemEntity) {
        super(viewModel);
        mItemEntity.set(itemEntity);
    }

}
